package br.com.sigupper.testes;

import static org.junit.Assert.*;

import org.hibernate.Session;
import org.hibernate.Transaction;
import org.junit.Test;

import br.com.sigupper.entidades.ContaStatus;
import br.com.sigupper.util.HibernateUtil;

public class ContaStatusTeste  extends TesteHeranca{
	
	@Test
	public void salvarContaStatusTest(){
			
		ContaStatus cs = new ContaStatus(); 
		cs.setContaStatus("paga");
		
		ContaStatus cs2 = new ContaStatus(); 
		cs2.setContaStatus("a pagar");
		
		ContaStatus cs3 = new ContaStatus(); 
		cs3.setContaStatus("recebida");
		
		ContaStatus cs4 = new ContaStatus(); 
		cs4.setContaStatus("a receber");
		
		
		
			abreConexao();
			this.getSessao().save(cs);
			this.getSessao().save(cs2);
			this.getSessao().save(cs3);
			this.getSessao().save(cs4);
			fechaConexao();
			
			assertNull(null);
		}

}
